package com.nulldev.util.web.nTubeExtensions.extended;

public enum ExtendedExtractorABI {
	/* v1: <100 */

	VIDEO_PLAYBACK_LINKS(10),

	VIDEO_BASIC_METADATA(50),
	VIDEO_BASIC_RELATED_CONTENT(60),

	/* v2: >100 */

	VIDEO_INTERACTIVE_DESCRIPTIONS(100),

	;

	public final int version;

	private ExtendedExtractorABI(final int version) {
		this.version = version;
	}

	public boolean isSupported(final int version) {
		return this.version >= version;
	}
}
